package com.zhixiang.xaec.entity.system;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;


@Entity
@Table(name = "sys_StoreRoom")
@Comment("库房")
public class StoreRoom extends BaseEntity
{
    @Column(length = 50)
    @Comment("库房名称")
    private String storeRoomName;

    @ManyToOne
    @JoinColumn(name = "storeRoomType_Id")
    @Comment("库房类型")
    private DicDetail storeRoomType;

    @Comment("最大库存")
    private Float MaximumInventory;

    @Comment("最小库存")
    private Float MinimumInventory;

    public String getStoreRoomName()
    {
        return storeRoomName;
    }

    public void setStoreRoomName(String storeRoomName)
    {
        this.storeRoomName = storeRoomName;
    }

    public DicDetail getStoreRoomType()
    {
        return storeRoomType;
    }

    public void setStoreRoomType(DicDetail storeRoomType)
    {
        this.storeRoomType = storeRoomType;
    }

    public Float getMaximumInventory()
    {
        return MaximumInventory;
    }

    public void setMaximumInventory(Float maximumInventory)
    {
        MaximumInventory = maximumInventory;
    }

    public Float getMinimumInventory()
    {
        return MinimumInventory;
    }

    public void setMinimumInventory(Float minimumInventory)
    {
        MinimumInventory = minimumInventory;
    }

}
